﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AdminLRS/AdminMaster.master" AutoEventWireup="true" CodeFile="ManageSubAdmin.aspx.cs" Inherits="ManageSubAdmin" %>

<%@ Register src="../Controls/SubAdminCreation.ascx" tagname="SubAdminCreation" tagprefix="uc2" %>
<%@ Register src="../Controls/SubAdminList.ascx" tagname="SubAdminList" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="H" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="P" Runat="Server">
<!-- box section open -->

    <div class="admn_box_top"></div>
    <div class="admn_box_mid">
    	<div class="breadcrum"><span><a href="DashBoard.aspx">Dashboard</a></span>&raquo; <a href="ManageSubAdmin.aspx">Manage Sub-Admins</a></div>
        <div class="admin_content">

          <asp:Panel ID="pnlSubAdminList" runat="server" Visible="true">
            <uc1:SubAdminList ID="SubAdminList1" runat="server" OnEditRequested="ucUserList_EditRequested" OnAddNewRequested="ucUserList_AddNewRequested" OnDataSourceRequested="ucUserList_DataSourceRequested"/>
           </asp:Panel>
           
           <asp:Panel ID="pnlSubAdminViewEdit" runat="server" Visible="false">
            <uc2:SubAdminCreation ID="SubAdminCreation1" runat="server" OnDataSourceUserRequested="ucUserViewEdit_DataSourceUserRequested" OnDataSourceRolesRequested="ucUserViewEdit_DataSourceRolesRequested"/>
        </asp:Panel>
        
        <asp:Panel ID="pnlButtons" runat="server" Visible="false">
            <div class="admn_frm_row">
          <div class="data">&nbsp;</div>
          <div class="field">
            <asp:ImageButton ID="bttnsave" runat="server" 
                     src="../images/admin/trans.gif" alt="" class="admn_login" 
                     AlternateText="Save" ValidationGroup="All" OnClick="bttnsave_Click"/>
                <asp:ImageButton ID="bttncancel" runat="server" 
                     src="../images/admin/trans.gif" alt="" class="admn_reset" 
                     AlternateText="Cancel" OnClick="bttncancel_Click"/>
          </div>
        </div>
          </asp:Panel>

        </div>
    </div>
<div class="admn_box_bttm"></div>
    
    <!-- box section close -->
</asp:Content>

